Add back code to zero the 'saved eflags' value on vmx vmexit.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 16 Feb 2006 15:35:09 +0000 (16:35 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 16 Feb 2006 15:35:09 +0000 (16:35 +0100)
vmx mode is unstable without this -- the root cause needs to
be investigated.

From: Jun Nakajima

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/vmx/x86_32/exits.S

index 7846cca10be4febb71c12f9c46eb412b3b2b195c..43abba29c332e9fdbb700b09fd18d1af98d73b35 100644 (file)
@@ -61,6 +61,7 @@
         pushl $HVM_MONITOR_EFLAGS; \
         popf; \
         subl $(NR_SKIPPED_REGS*4), %esp; \
+        movl $0, 0xc(%esp);  /* XXX why do we need to force eflags==0 ?? */ \
         pushl %eax; \
         pushl %ebp; \
         pushl %edi; \